package com.example.englishstudy

import retrofit2.Call
import retrofit2.http.POST
import retrofit2.http.Query

interface EnglishApi{
    @POST("/api/trans/vip/translate")
    fun translate(@Query("q") q: String,
                  @Query("from") from: String,
                  @Query("to") to: String,
                  @Query("appid") appid: Long,
                  @Query("salt") salt: Int,
                  @Query("sign") sign: String): Call<TranslateEntity>

}